package com.zhiyou100.api.book_demo.dao;

import com.zhiyou100.api.book_demo.pojo.Category;

import java.util.List;

//图书类别操作的数据层接口
public interface CategoryDao{

    //查询所有图书类别
    List<Category> queryAll();
    //添加图书类别
    boolean insertCategory(Category category);
    //修改图书类别信息
    boolean editCategoryById(Category category);

}
